package com.ark.frigate.zookeeper.state;

import org.springframework.statemachine.StateMachineContext;
import org.springframework.statemachine.StateMachinePersist;
import org.springframework.stereotype.Component;

/**
 * @Author ZengWeiLong
 * @Description Copy Right Beyonca
 * @Date 2022/3/28 09:50
 * @Version 1.0
 */
@Component
public class InMysqlStateMachinePersist implements StateMachinePersist<OrderStates, OrderEvents, Order> {

    @Override
    public void write(StateMachineContext<OrderStates, OrderEvents> stateMachineContext, Order order) throws Exception {
        
    }

    @Override
    public StateMachineContext<OrderStates, OrderEvents> read(Order order) throws Exception {
        return null;
    }
}
